from enum import Enum
from aiogram.types import ReplyKeyboardMarkup
from aiogram.utils.keyboard import ReplyKeyboardBuilder


class ButtonText:
    share: str = "Share phone"


def share_phone_kb() -> ReplyKeyboardMarkup:
    builder = ReplyKeyboardBuilder()
    builder.button(
        text=ButtonText.share,
        request_contact=True,
    )

    return builder.as_markup(
        resize_keyboard=True,
    )
